<?php if(!defined("HDPHP_PATH"))exit;C("SHOW_NOTICE",FALSE);?><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
<head>
    <meta http-equiv="Content-Type" content="text/html;charset=UTF-8"/>
    <title>分类管理</title>
    <script type='text/javascript' src='http://localhost/kuangjia/hdphp/hdphp/../hdjs/jquery-1.8.2.min.js'></script>
<link href='http://localhost/kuangjia/hdphp/hdphp/../hdjs/css/hdjs.css' rel='stylesheet' media='screen'>
<script src='http://localhost/kuangjia/hdphp/hdphp/../hdjs/js/hdjs.js'></script>
<script src='http://localhost/kuangjia/hdphp/hdphp/../hdjs/js/slide.js'></script>
<script src='http://localhost/kuangjia/hdphp/hdphp/../hdjs/org/cal/lhgcalendar.min.js'></script>
<script type='text/javascript'>
		HOST = 'http://localhost';
		ROOT = 'http://localhost/daicms';
		WEB = 'http://localhost/daicms/index.php';
		URL = 'http://localhost/daicms/index.php?a=Admin&c=Category&m=add_son&cid=14';
		HDPHP = 'http://localhost/kuangjia/hdphp/hdphp';
		HDPHPDATA = 'http://localhost/kuangjia/hdphp/hdphp/Data';
		HDPHPTPL = 'http://localhost/kuangjia/hdphp/hdphp/Lib/Tpl';
		HDPHPEXTEND = 'http://localhost/kuangjia/hdphp/hdphp/Extend';
		APP = 'http://localhost/daicms/index.php?a=Admin';
		CONTROL = 'http://localhost/daicms/index.php?a=Admin&c=Category';
		METH = 'http://localhost/daicms/index.php?a=Admin&c=Category&m=add_son';
		GROUP = 'http://localhost/daicms/./Cms';
		TPL = 'http://localhost/daicms/./Cms/Cms/Admin/Tpl';
		CONTROLTPL = 'http://localhost/daicms/./Cms/Cms/Admin/Tpl/Category';
		STATIC = 'http://localhost/daicms/Static';
		PUBLIC = 'http://localhost/daicms/./Cms/Cms/Admin/Tpl/Public';
		HISTORY = 'http://localhost/daicms/index.php?a=Admin&c=Category&m=index';
		HTTPREFERER = 'http://localhost/daicms/index.php?a=Admin&c=Category&m=index';
</script>
    <link href="http://localhost/kuangjia/hdphp/hdphp/Extend/Org/bootstrap/css/bootstrap.min.css" rel="stylesheet" media="screen"><script src="http://localhost/kuangjia/hdphp/hdphp/Extend/Org/bootstrap/js/bootstrap.min.js"></script>
  <!--[if lte IE 6]>
  <link rel="stylesheet" type="text/css" href="http://localhost/kuangjia/hdphp/hdphp/Extend/Org/bootstrap/ie6/css/bootstrap-ie6.css">
  <![endif]-->
      <!--[if lt IE 9]>
    <script src="http://localhost/kuangjia/hdphp/hdphp/Extend/Org/bootstrap/js/html5shiv.min.js"></script>
    <script src="http://localhost/kuangjia/hdphp/hdphp/Extend/Org/bootstrap/js/respond.min.js"></script>
    <![endif]-->
    <link type="text/css" rel="stylesheet" href="http://localhost/daicms/./Cms/Cms/Admin/Tpl/Category/css/css.css"/>
</head>
<body>
<div class="wrap">
    <div class="title-header">添加子分类</div>
    <form action="" method="post" class="form-inline hd-form"  onsubmit="return hd_submit(this,'http://localhost/daicms/index.php?a=Admin&c=Category&m=index')">
        <table class="table1">
            <tr>
                <th class="w100">分类名称</th>
                <td  class="w100">
                    <input type="text" name="cname" class="w200"/> 
                </td>
                <td>分类名称长度 1 到 20 位</td>
            </tr>
            <tr>
                <th class="w100">所属分类</th>
                <td>
                   <?php echo $data['cname'];?>
                </td>
                <td></td>
            </tr>
            <tr>
                <th class="w100">分类标题</th>
                <td>
                    <input type="text" name="ctitle" class="w200"/>
                </td>
                <td> 分类标题长度 1 到 60 位 </td>
            </tr>
            <tr>
                <th class="w100">分类关键字</th>
                <td>
                    <textarea name="ckeywords" id="" class="form-control" rows="5"></textarea>
                </td>
                <td>分类关键字长度 1 到 255位</td>
            </tr>
            <tr>
                <th class="w100">分类描述</th>
                <td>
                    <textarea name="cdes" id="" class="form-control" rows="5"></textarea>
                </td>
                <td>分类描述长度 1 到 255位  </td>
            </tr>
            <tr>
                <th class="w100">分类排序</th>
                <td>
                    <input type="text" name="csort" class="w200" value="100"/>
                </td>
                <td>请填写1到65535的排序数字 </td>
            </tr>
            <tr>
                <th class="w100">静态目录</th>
                <td>
                    <input type="text" name="htmldir" class="w200"/>
                </td>
                <td>请填写1~20位只包含字母数字下划线,分类静态目录 例如：php</td>
            </tr>
             <tr>
                <th class="w100">列表页是否静态</th>
                <td>
                    是：<input type="radio" name="is_listhtml" id="" value="1"/>
                    &nbsp;
                    否: <input type="radio" name="is_listhtml" id="" checked="checked" value="0"/>
                </td>
                <td></td>
            </tr>
             <tr>
                <th class="w100">内容页是否静态</th>
                <td>
                    是：<input type="radio" name="is_archtml" id="" value="1"/>
                    &nbsp;
                    否: <input type="radio" name="is_archtml" id="" checked="checked" value="0"/>
                </td>
                <td></td>
            </tr>
             <tr>
                <th class="w100">是否显示</th>
                <td>
                    是：<input type="radio" name="isshow" id="" checked="checked" value="1"/>
                    &nbsp;
                    否: <input type="radio" name="isshow" id=""  value="0"/>
                </td>
                <td></td>
            </tr>       
        </table>
        <div class="position-bottom">
            <input type="hidden" name="pid" value="<?php echo $data['cid'];?>"/>
            <input type="submit" class="hd-success" value="添加"/>
        </div>
    </form>
</div>
</body>
</html>